﻿using NUnit.Framework;

namespace sp.anamaria.tests
{
    [TestFixture]
    public class TestAnaMaria
    {

        [Test]
        public void Test1()
        {
            var SUT = new AnaMaria();
            var outputMock = new OutputComponentMock();
            SUT.OnText += outputMock.ProcessText;
            SUT.ProcessText("Hola");

            Assert.That(outputMock.textSent, Is.EqualTo("Hola"));

        }
    }
}
